﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="sysAdd.ascx.cs" Inherits="webUserControl_sysAdd" %>
<div class="code">
<table style="width:80%; line-height:25px; font-size:12px;">
    <tr>
        <td style="text-align:right; padding-right:5px; width:120px;">类别：</td>
        <td style=" padding-left:5px;">
            <asp:DropDownList ID="DropDownList1" runat="server">
            </asp:DropDownList>
&nbsp;<asp:Button ID="btnDel1" runat="server" onclick="btnDel1_Click" Text="删除" />
&nbsp;
            <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
&nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                ControlToValidate="TextBox1" ErrorMessage="*" ValidationGroup="A"></asp:RequiredFieldValidator>
            <asp:Button ID="btnAdd1" runat="server" onclick="btnAdd1_Click" Text="添加" 
                ValidationGroup="A" />
&nbsp;<asp:Button ID="btnEdit1" runat="server" onclick="btnEdit1_Click" Text="编辑" 
                ValidationGroup="A" />
                </td>
    </tr>
    <tr>
        <td style="text-align:right; padding-right:5px; width:120px;">城市：</td>
        <td style=" padding-left:5px;">
            <asp:DropDownList ID="DropDownList2" runat="server" AutoPostBack="True" 
                onselectedindexchanged="DropDownList2_SelectedIndexChanged">
            </asp:DropDownList>
&nbsp;<asp:Button ID="btnDel2" runat="server" onclick="btnDel2_Click" Text="删除" />
&nbsp;<asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
&nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                ControlToValidate="TextBox2" ErrorMessage="*" ValidationGroup="B"></asp:RequiredFieldValidator>
            <asp:Button ID="btnAdd2" runat="server" onclick="btnAdd2_Click" Text="添加" 
                ValidationGroup="B" />
&nbsp;<asp:Button ID="btnEdit2" runat="server" onclick="btnEdit2_Click" Text="编辑" 
                ValidationGroup="B" />
                </td>
    </tr>
    <tr>
        <td style="text-align:right; padding-right:5px; width:120px;">分区：</td>
        <td style=" padding-left:5px;">
            <asp:DropDownList ID="DropDownList4" runat="server">
            </asp:DropDownList>
&nbsp;<asp:Button ID="btnDel4" runat="server" onclick="btnDel4_Click" Text="删除" />
&nbsp;<asp:TextBox ID="TextBox4" runat="server"></asp:TextBox>
&nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                ControlToValidate="TextBox4" ErrorMessage="*" ValidationGroup="C"></asp:RequiredFieldValidator>
            <asp:Button ID="btnAdd4" runat="server" onclick="btnAdd4_Click" Text="添加" 
                ValidationGroup="C" />
&nbsp;<asp:Button ID="btnEdit4" runat="server" onclick="btnEdit4_Click" Text="编辑" 
                ValidationGroup="C" />
                </td>
    </tr>
        <tr>
        <td style="text-align:right; padding-right:5px; width:120px;">档次：</td>
        <td style=" padding-left:5px;">
            <asp:DropDownList ID="DropDownList3" runat="server">
            </asp:DropDownList>
&nbsp;<asp:Button ID="btnDel3" runat="server" onclick="btnDel3_Click" Text="删除" />
&nbsp;<asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>
&nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                ControlToValidate="TextBox3" ErrorMessage="*" ValidationGroup="D"></asp:RequiredFieldValidator>
            <asp:Button ID="btnAdd3" runat="server" onclick="btnAdd3_Click" Text="添加" 
                ValidationGroup="D" />
&nbsp;<asp:Button ID="btnEdit3" runat="server" onclick="btnEdit3_Click" Text="编辑" 
                ValidationGroup="D" />
                </td>
    </tr>
        </table>
</div>
    <asp:Literal ID="Literal1" runat="server"></asp:Literal>
